package com.jrx.anytxn.param.mapper.base;

import com.jrx.anytxn.param.entity.TlFilePaymentLog;
import com.jrx.anytxn.param.entity.TlFilePaymentLogKey;

public interface TlFilePaymentLogMapper {
    /**
     * 根据主键删除 
     * @param key TlFilePaymentLogKey
     * @return int
     */
    int deleteByPrimaryKey(TlFilePaymentLogKey key);

    /**
     * 保存
     * @param record TlFilePaymentLog
     * @return int
     */
    int insert(TlFilePaymentLog record);

    /**
     * 根据字段是否为空保存 
     * @param record TlFilePaymentLog
     * @return int
     */
    int insertSelective(TlFilePaymentLog record);

    /**
     * 根据主键查询 
     * @param key TlFilePaymentLogKey
     * @return TlFilePaymentLog
     */
    TlFilePaymentLog selectByPrimaryKey(TlFilePaymentLogKey key);

    /**
     * 根据字段是否为空更新 
     * @param record TlFilePaymentLog
     * @return int
     */
    int updateByPrimaryKeySelective(TlFilePaymentLog record);

    /**
     * 根据主键更新所有字段 
     * @param record TlFilePaymentLog
     * @return int
     */
    int updateByPrimaryKey(TlFilePaymentLog record);
}